<?php
require_once(dirname(dirname(dirname(__FILE__))) . '/app.php');

need_manager(true);

$condition = array();


$count = Table::Count('proxy', $condition);
list($pagesize, $offset, $pagestring) = pagestring($count, 20);

$proxys = DB::LimitQuery('proxy', array(
	'condition' => $condition,
	'order' => 'ORDER BY id DESC',
	'size' => $pagesize,
	'offset' => $offset,
));

$cities = option_category('city');

include template('manage_user_proxy');
